package com.example.mybatis.mapper;

import com.example.mybatis.dao.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserInfoXMLMapper {
    public List<UserInfo> queryAllUser();

    public Integer insertUser(@Param("user")UserInfo userInfo);

    public Integer deleteUser(Integer id);

    public Integer updateUser(@Param("user")UserInfo userInfo);
}
